

import { reactive } from "vue";
export const store = reactive({
  currentCardTimer: null as NodeJS.Timeout | null,
  watingTimer: undefined as NodeJS.Timeout | undefined,
  afterBegin: false,
  scene: 'loading',
  onlineDeck: false,
  deckList: [],
  onlineDeckList: [],
  videoMode: false,
  videoPlaying: true,
  battleData: {},
  handcardPlayerA: undefined,
  handcardPlayerB: undefined,
  isCardPlaying: false,
  isCardDraging: false,
  turnEnding: false,
  showFound: false,
  rnding: false,
  diguoUsedType2Cards: [] as number[],
  turnAddMana: 4,
  maxMana: 15
})